import os
import time

from selenium import webdriver
from selenium.webdriver.common.by import By
# options = webdriver.ChromeOptions()
# download = os.path.dirname(os.path.abspath(__file__)) + '\\download'
# prefs = {
#     "profile.default_content_settings.popups":0,
#     'download.default_directry':download
#
# }
# options.add_experimental_option('prefs', prefs)
# #打开浏览器
# driver = webdriver.Chrome(options=options)
# driver.get('https://www.cr173.com/soft/31043.html')
# #下载文件
# # 定位文件,执行clike操作
# driver.find_element(By.LINK_TEXT, '湖北电信下载').click()
# # time.sleep(3)
# # driver.quit()
options = webdriver.ChromeOptions()
os.path.join(os.path.dirname(os.path.abspath(__file__)), 'zhuzhu')


